Calendar for WinForms | ComponentOne
C1.Framework.Mathematics Namespace / Vector<T> Class / Subtraction Operator
A Vector indicates the left operand.
A Vector indicates the right operand.

In This Topic
    Subtraction Operator (Vector<T>)
    In This Topic
    Defines the binary - operator for vector.
    Syntax
    'Declaration
     
    
    Public Operator -( _
       ByVal left As Vector(Of T), _
       ByVal right As Vector(Of T) _
    ) As Vector(Of T)
    public Vector<T> operator -( 
       Vector<T> left,
       Vector<T> right
    )

    Parameters

    left
    A Vector indicates the left operand.
    right
    A Vector indicates the right operand.

    Return Value

    A Vector that is the binary minus result of the left and right operands.
    Remarks
    (n1, n2, n3) - (m1, m2, m3) = (n1 - m1, n2 - m2, n3 - m3)
    See Also